Commands (Script and Interactive)
    -open "path\\to\\filename.img"
      Opens IMG archive
    -create "path\to\filename.img" "2" "encryptionType"
      Creates IMG archive. The second parameter is archive version. The third parameter is metadata encrypti
on type and is optional.
    -openOrCreate "path\\to\\filename.img" "2" "encryptionType"
      Opens IMG archive if exists or creates archive if it does not exist. The second parameter is archive v
ersion. The third parameter is metadata encryption type and is optional.
    -rebuild
      Rebuilds IMG archive always when executed.
    -rebuildIfMoreUselessSpaceThan 31457280
      Rebuilds IMG archive only when amount of useless space is greater than specified amount of bytes. More
 than 30 MB in example.
    -rebuildIfArchiveWasModified
      Rebuilds IMG archive only if archive was modified in any way. Archive was modified if e.g some files w
ere imported/removed/renamed.
    -rebuildIfMoreUselessSpaceThanValueOrArchiveWasModified 31457280
      Rebuilds IMG archive only if archive was modified in any way / if there is more useless space specifie
d value.
    -add "path\\to\\filename.dff"
      Adds a file, it will always add a file, even though it may already exists. It won't replace existing f
ile.
    -import "path\\to\\filename.dff"
      Imports file - file will be added if not exists or replaced if it exists.
    -importFromDifferentArchive "path\\to\\IMGarchive.img"
      Imports files from different archive.
    -importFromDirectory "path\\to\\directory\\"
      Imports files from specified directory - files will be added if they don't exist or replaced if they e
xist.
    -replaceFromDirectory "path\\to\\directory\\"
      Replaces files from specified directory - files from directory will be put to IMG archive only if they
 already exist in IMG archive.
    -export "filename.dff" "path\\to\\export\\"
      Exports file.
    -exportAll "path\\to\\export\\"
      Exports all files to specified directory.
    -delete "filename.dff"
      Deletes file from archive
    -rename "oldname.dff" "newname.dff"
      Renames file.
    -getAmountOfUnusedSpace
      Returns amount of unused space in IMG archive
    -setArchiveMetadataEncryption "encryptionType"
      Sets archive metadata encryption type.
    -setPropertiesForFile "filename.dff" "compressionType" "encryptionType"
      Sets properties for single file.
    -setPropertiesForAllFiles "compressionType" "encryptionType"
      Sets properties for all files.
    -setLZ4compressionLevel 9 "encryptionType"
      Sets LZ4 compression level.
      expected value from 1 to 9
      1 - fast LZ4 compression (default)
      3 - normal LZ4 HC compression
      9 - best LZ4 HC compression
    -setZLIBcompressionLevel 9 "encryptionType"
      Sets ZLIB compression level.
      expected value from -1 to 9
      -1 - default
      0 - no compression
      1 - best speed
      9 - best compression
    -deleteAllFiles
      Deletes all files from archive.
    -printListOfEntries
      Prints a list of entries.
    -printString "message to print"
      Prints message, useful for script mode.
    -close
      Closes handle of IMG archive
    -exit
      Quits fastman92 IMG console, process is terminated.

  IMG versions:
    "1" - GTA III, GTA VC, GTA III Mobile
    "2" - GTA SA
    "3" - GTA IV
      Encryption types:
          IMG_VERSION_3_ENCRYPTION_TYPE_NONE
          IMG_VERSION_3_ENCRYPTION_TYPE_GTAIV_AES
    "fastman92_GTASA" - GTA SA
      Compression types:
          IMG_FASTMAN92_GTASA_COMPRESSION_TYPE_NONE
          IMG_FASTMAN92_GTASA_COMPRESSION_TYPE_ZLIB
          IMG_FASTMAN92_GTASA_COMPRESSION_TYPE_LZ4
      Encryption types:
          IMG_FASTMAN92_GTASA_ENCRYPTION_TYPE_NONE
          IMG_FASTMAN92_GTASA_ENCRYPTION_TYPE_VARIATION_1, discouraged type
          IMG_FASTMAN92_GTASA_ENCRYPTION_TYPE_VARIATION_2

  String escape characters:
    \a - Bell (alert)
    \b - Backspace
    \f - Formfeed
    \n - New line
    \r - Carriage return
    \t - Horizontal tab
    \v - Vertical tab
    \" - Double quotation mark
    \\ - Backslash
    \xhh - ASCII character in hexadecimal notation, where hh is the number of character

